<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>ColorFilter | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_filters_colorfilter_.html">&quot;laya/filters/ColorFilter&quot;</a>
				</li>
				<li>
					<a href="_laya_filters_colorfilter_.colorfilter.html">ColorFilter</a>
				</li>
			</ul>
			<h1>Class ColorFilter</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>ColorFilter</code> 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha 值，以生成具有一组新的 RGBA 颜色和 Alpha 值的结果。该类允许饱和度更改、色相旋转、亮度转 Alpha 以及各种其他效果。您可以将滤镜应用于任何显示对象（即，从 Sprite 类继承的对象）。</p>
						<p>注意：对于 RGBA 值，最高有效字节代表红色通道值，其后的有效字节分别代表绿色、蓝色和 Alpha 通道值。</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="_laya_filters_filter_.filter.html" class="tsd-signature-type">Filter</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">ColorFilter</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel">
				<h3>Implements</h3>
				<ul class="tsd-hierarchy">
					<li><a href="../interfaces/_laya_filters_ifilter_.ifilter.html" class="tsd-signature-type">IFilter</a></li>
					<li><a href="../interfaces/_laya_filters_ifilter_.ifilter.html" class="tsd-signature-type">IFilter</a></li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="_laya_filters_colorfilter_.colorfilter.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#_matrix" class="tsd-kind-icon">_matrix</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#adjustbrightness" class="tsd-kind-icon">adjust<wbr>Brightness</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#adjustcolor" class="tsd-kind-icon">adjust<wbr>Color</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#adjustcontrast" class="tsd-kind-icon">adjust<wbr>Contrast</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#adjusthue" class="tsd-kind-icon">adjust<wbr>Hue</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#adjustsaturation" class="tsd-kind-icon">adjust<wbr>Saturation</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#color" class="tsd-kind-icon">color</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#gray" class="tsd-kind-icon">gray</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#onafterdeserialize" class="tsd-kind-icon">on<wbr>After<wbr>Deserialize</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#reset" class="tsd-kind-icon">reset</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#setbymatrix" class="tsd-kind-icon">set<wbr>ByMatrix</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class"><a href="_laya_filters_colorfilter_.colorfilter.html#setcolor" class="tsd-kind-icon">set<wbr>Color</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="_laya_filters_colorfilter_.colorfilter.html#_filter" class="tsd-kind-icon">_filter</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Color<wbr>Filter<span class="tsd-signature-symbol">(</span>mat<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="_laya_filters_filter_.filter.html">Filter</a>.<a href="_laya_filters_filter_.filter.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:25</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>创建一个 <code>ColorFilter</code> 实例。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> mat: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>（可选）由 20 个项目（排列成 4 x 5 矩阵）组成的数组，用于颜色转换。</p>
										</div>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="_matrix" class="tsd-anchor"></a>
					<h3>_matrix</h3>
					<div class="tsd-signature tsd-kind-icon">_matrix<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in laya/filters/ColorFilter.ts:25</li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>当前使用的矩阵</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjustbrightness" class="tsd-anchor"></a>
					<h3>adjust<wbr>Brightness</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Brightness<span class="tsd-signature-symbol">(</span>brightness<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:115</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整亮度</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>brightness: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>亮度,范围:-100~100</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjustcolor" class="tsd-anchor"></a>
					<h3>adjust<wbr>Color</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Color<span class="tsd-signature-symbol">(</span>brightness<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, contrast<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, saturation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, hue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:102</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整颜色，包括亮度，对比度，饱和度和色调</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>brightness: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>亮度,范围:-100~100</p>
									</div>
								</li>
								<li>
									<h5>contrast: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>对比度,范围:-100~100</p>
									</div>
								</li>
								<li>
									<h5>saturation: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>饱和度,范围:-100~100</p>
									</div>
								</li>
								<li>
									<h5>hue: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>色调,范围:-180~180</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjustcontrast" class="tsd-anchor"></a>
					<h3>adjust<wbr>Contrast</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Contrast<span class="tsd-signature-symbol">(</span>contrast<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:126</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整对比度</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>contrast: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>对比度,范围:-100~100</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjusthue" class="tsd-anchor"></a>
					<h3>adjust<wbr>Hue</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Hue<span class="tsd-signature-symbol">(</span>hue<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:168</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整色调</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>hue: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>色调,范围:-180~180</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="adjustsaturation" class="tsd-anchor"></a>
					<h3>adjust<wbr>Saturation</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">adjust<wbr>Saturation<span class="tsd-signature-symbol">(</span>saturation<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:151</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>调整饱和度</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>saturation: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>饱和度,范围:-100~100</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="color" class="tsd-anchor"></a>
					<h3>color</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">color<span class="tsd-signature-symbol">(</span>red<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, green<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, blue<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, alpha<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:53</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置为变色滤镜</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> red: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>红色系数,范围:0~1</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> green: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>绿色系数,范围:0~1</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> blue: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>蓝色系数,范围:0~1</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> alpha: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>alpha系数,范围:0~1</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="gray" class="tsd-anchor"></a>
					<h3>gray</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">gray<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:42</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置为灰色滤镜</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="onafterdeserialize" class="tsd-anchor"></a>
					<h3>on<wbr>After<wbr>Deserialize</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">on<wbr>After<wbr>Deserialize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:241</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="reset" class="tsd-anchor"></a>
					<h3>reset</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:182</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>重置成单位矩阵，去除滤镜效果</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setbymatrix" class="tsd-anchor"></a>
					<h3>set<wbr>ByMatrix</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>ByMatrix<span class="tsd-signature-symbol">(</span>matrix<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:72</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置矩阵数据</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>matrix: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>由 20 个项目（排列成 4 x 5 矩阵）组成的数组</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
							<p>this</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
					<a name="setcolor" class="tsd-anchor"></a>
					<h3>set<wbr>Color</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
						<li class="tsd-signature tsd-kind-icon">set<wbr>Color<span class="tsd-signature-symbol">(</span>color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/filters/ColorFilter.ts:61</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置滤镜色</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>color: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>颜色值</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-signature-type">ColorFilter</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
					<a name="_filter" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> _filter</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">_filter<span class="tsd-signature-symbol">(</span>this<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RenderSprite</span>, sprite<span class="tsd-signature-symbol">: </span><a href="_laya_display_sprite_.sprite.html" class="tsd-signature-type">Sprite</a>, context<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Context</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_filters_blurfilter_.blurfilter.html">BlurFilter</a>.<a href="_laya_filters_blurfilter_.blurfilter.html#_filter">_filter</a></p>
								<ul>
									<li>Defined in laya/filters/Filter.ts:38</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>this: <span class="tsd-signature-type">RenderSprite</span></h5>
								</li>
								<li>
									<h5>sprite: <a href="_laya_display_sprite_.sprite.html" class="tsd-signature-type">Sprite</a></h5>
								</li>
								<li>
									<h5>context: <span class="tsd-signature-type">Context</span></h5>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_filters_colorfilter_.html">&quot;laya/filters/<wbr>Color<wbr>Filter&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_filters_colorfilter_.colorfilter.html" class="tsd-kind-icon">Color<wbr>Filter</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="_laya_filters_colorfilter_.colorfilter.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#_matrix" class="tsd-kind-icon">_matrix</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#adjustbrightness" class="tsd-kind-icon">adjust<wbr>Brightness</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#adjustcolor" class="tsd-kind-icon">adjust<wbr>Color</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#adjustcontrast" class="tsd-kind-icon">adjust<wbr>Contrast</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#adjusthue" class="tsd-kind-icon">adjust<wbr>Hue</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#adjustsaturation" class="tsd-kind-icon">adjust<wbr>Saturation</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#color" class="tsd-kind-icon">color</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#gray" class="tsd-kind-icon">gray</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#onafterdeserialize" class="tsd-kind-icon">on<wbr>After<wbr>Deserialize</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#reset" class="tsd-kind-icon">reset</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#setbymatrix" class="tsd-kind-icon">set<wbr>ByMatrix</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class">
								<a href="_laya_filters_colorfilter_.colorfilter.html#setcolor" class="tsd-kind-icon">set<wbr>Color</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a href="_laya_filters_colorfilter_.colorfilter.html#_filter" class="tsd-kind-icon">_filter</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
					<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_laya_filters_colorfilter_.html#delta_index" class="tsd-kind-icon">DELTA_<wbr>INDEX</a>
					</li>
					<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_laya_filters_colorfilter_.html#gray_matrix" class="tsd-kind-icon">GRAY_<wbr>MATRIX</a>
					</li>
					<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_laya_filters_colorfilter_.html#identity_matrix" class="tsd-kind-icon">IDENTITY_<wbr>MATRIX</a>
					</li>
					<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
						<a href="../modules/_laya_filters_colorfilter_.html#length" class="tsd-kind-icon">LENGTH</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>